<if condition="$is_following">
    <button type="button" class="btn btn-default" onclick="ufollow(this,{$uid})">
        已关注
    </button>
    <else/>
    <button type="button" class="btn btn-primary" onclick="ufollow(this,{$uid})">
        关注
    </button>
</if>